<!--Created by yangzhiqiang -->
<template>
    <div class="add_mark">
        <!--<section id="content">-->
        <!--<section class="main padder">-->
        <div class="row">
            <div class="col-lg-12">
                <h4 class="page-header">备注信息</h4>
            </div>
        </div>
        <div class="list-group m-b-sm">
            <a class="list-group-item">类型：设备信息</a>
            <a class="list-group-item">ID：${device.id}</a>
            <a class="list-group-item">IMEI：${device.imei}</a>
        </div>
        <div class="panel-body">
            <form class="form-horizontal" action="../devices/saveRemark/${device.id}" method="post" data-validate="parsley">
                <div class="form-group">
                    <div class="col-lg-8">
                        <!--<textarea placeholder="备注信息" rows="5" name="remark" id="remark" placeholder="remark" class="form-control parsley-validated" data-trigger="keyup" data-rangelength="[20,200]">
                            <#if device.remark??>${device.remark}</#if>
                        </textarea>-->
                        <textarea rows="5" name="remark" id="remark" placeholder="remark" class="form-control parsley-validated" data-trigger="keyup" data-rangelength="[20,200]">
                            <#if device.remark??>${device.remark}</#if>
                        </textarea>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-lg-9 col-lg-offset-3">
                        <a class="btn btn-white" href="../devices/list">返回</a>
                        <button type="submit" class="btn btn-primary">保存</button>
                    </div>
                </div>
            </form>
        </div>
        <!--</section>-->
        <!--</section>-->
    </div>
</template>

<script type="text/ecmascript-6">

export default {
    name: 'add_mark',
    data() {
        return {
            //todo 这里是data区域
        }
    },
    components: {
        //TODO 添加子组件
    },
    computed: {
        //TODO 计算区
    },
    methods: {
        //TODO 方法区
    },
    mounted: function () {
        //TODO 函数执行区域
    }
}
</script>
<style lang="scss" scoped>

</style>
